package com.yunc.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统消息
 *
 * @author congcong tao
 * @create 2020/1/14 13:48
 */
@TableName("sys_message")
@Data
public class SysMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;
    
    /**
     * 标题
     */
    private String title;
    
    /**
     * 通知类型，可多选，（1浏览器端 2微信端 3app端 4短信）
     */
    private String type;
    
    /**
     * 内容
     */
    private String content;

    private String remark;

    private String creator;

    private Date createTime;

    @TableField(exist = false)
    private String userIds;

    @TableField(exist = false)
    private String status;

    @TableField(exist = false)
    private String messageUserId;
}
